package com.usian.feign;

import com.usian.pojo.B.day12.Contest;
import com.usian.r.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author BYBL
 * @date 2023/8/24
 */
@FeignClient(value = "day12contest")
public interface ContestFeign {
    @RequestMapping("/contest/findUid")
    public R findUid1(@RequestParam("uid") Integer uid);
    @RequestMapping("contest/contestList")
    public R contestList(Contest contest);
}
